package org.particlethink.handler;

import org.particlethink.entry.BillStatus;
import org.particlethink.entry.OrderStatus;


public class BillStatusHandler extends BaseEnumHandler<BillStatus> {
    public BillStatus fromCode(int code) {
        switch (code) {
            case 1:
                return BillStatus.UnConfirmed;
            case 2:
                return BillStatus.Objection;
            case 3:
                return BillStatus.Confirmed;
            case 4:
                return BillStatus.Discard;
        }
        return null;
    }
}

